package com.usefullc.demo.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidTypeEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 请假条参数实体
 * @author: 星空
 * @date: 2022-07-27
 */
@ApiModel
@Data
public class ApplyDayOffParam extends BaseDomain {

//useful_auto_generate_section_start

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "申请人")
    private Long userId;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "ID")
    private Long id;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "创建时间")
    private Date gmtCreate;

    @UsefulPropertyVerify(required=true)
    @ApiModelProperty(notes = "审核人")
    private Long auditUserId;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "开始时间")
    private Date offDayStart;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "修改时间")
    private Date gmtModified;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "结束时间")
    private Date offDayEnd;

    @UsefulPropertyVerify()
    @ApiModelProperty(notes = "删除状态")
    private Boolean delState;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647)
    @ApiModelProperty(notes = "审核状态")
    private Integer status;

    @UsefulPropertyVerify(minLen=1, maxLen=1000)
    @ApiModelProperty(notes = "事由")
    private String eventComment;

    @UsefulPropertyVerify(minLen=1, maxLen=1000)
    @ApiModelProperty(notes = "审核意见")
    private String comment;


//useful_auto_generate_section_end

}
